home *** CD-ROM | disk | FTP | other *** search
- Path: reno.WPI.EDU!sopho
- From: sopho@wpi.edu (Sophocles Metsis)
- Newsgroups: comp.sys.amiga.misc
- Subject: gcc, ldconfig, libs and more
- Date: 10 Feb 1996 17:34:25 GMT
- Organization: Worcester Polytechnic Institute
- Message-ID: <4fikv1$nbl@bigboote.WPI.EDU>
- NNTP-Posting-Host: reno.wpi.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- I got the watchtower fs from mit and I think its ok
- even though I did not follow the exact installation
- procedure since it seems to be for MSDOS machines.
- Basically I changed a few device names and filenames.
- Its now installed and seems to work well except for
- ldconfig and gcc. I must tell you that before I tryed
- using gcc I got 2.7.2 from mit and installed that also
-
- the 'problem' with ldconfig follows :
-
- #ldconfig
- ldconfig: warning: can't open /usr/local/lib (no such file or directory)
- ldconfig: warning: can't open /usr/m68k-linuxaout/lib (no such file or directory)
-
- which is true I checked for both of the above and they are nowhere
- where can I get them ?
-
- Now about gcc
-
- I wrote a hello world program in c and then in c++
- I tried gcc hello.c
- It seemed to compile fine and it produced an executable a.out
- great I though ... but when I typed a.out I get an error
- (unknown command a.out or something like that.)
-
- In g++ I changed the above program to use cout but I got a
- message saying that it couldn't find the <iostream.h> file.
-
- I then changed the program to the original (printf) and
- tried g++ again. This time it compiled fine but during linking
- I got
- /usr/bin/m68k-linux/bin/ld : cannot open -lg++: No such file or directory
-
- isn't -lg++ an option ? If so why is it looking for it ?
-
-
- I have a feeling that all these problems are related (somehow)
- could someone please shed some light?
-
- Thanks,
- Sophocles
-
-
-
-